<?php

function check_category_exist($category)
{
	$query = "select * from game_category where category='$category'";
	$result= exec_sql_query($query);
	if(mysql_num_rows($result)>0)
	{
		return true;
	}	
	else
	 {
		return false;
	 }
}

?>